package com.kws.payment.service;

import com.kws.payment.dao.CreateWeixinPayNotifyRq;
import com.kws.payment.dao.CreateWeixinPayOrderRq;
import com.kws.payment.dao.WeixinPayRefundRq;
import com.wechat.pay.java.service.refund.model.Refund;

import java.security.GeneralSecurityException;
import java.util.HashMap;

public interface WeixinWebPayService {
    String createWeixinWebPayOrder(CreateWeixinPayOrderRq rq);

    void closeWeixinWebPayOrder(String orderNo);

    Refund weixinPayRefundOrder(WeixinPayRefundRq rq);

    boolean weixinNotify(String body) throws GeneralSecurityException;
}
